# -*- coding: utf-8 -*-

import math

# # 次方
# r = 2 ** 3

# # 次方根
# a = r ** 1 / 3


def run():
    days = 15
    start_w = float(500) / 8000
    end_w = float(500) / 300

    N = (end_w / start_w)

    i = N ** (1.0 / days)

    print(N, i)

    dd = math.log(N, i)

    print(dd)


if __name__ == '__main__':
    run()
